#include <iostream>
#include "graphtypes.h"
#include "GraphWeighted.h"

using namespace std;

class GraphWeightedMatrix : public virtual GraphWeighted
{
protected :
  weight_t **weight;

public :
  GraphWeightedMatrix();
  GraphWeightedMatrix(summit_t n, edges_t m);
  virtual ~GraphWeightedMatrix();
  virtual weight_t getWeight(summit_t i, summit_t j) const;
  virtual void setWeight(summit_t i, summit_t j, weight_t t);
  virtual void printGraph()const;
};
